package com.jason.service.user;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jason.dao.user.UserDao;
import com.jason.entity.UserEntity;
import com.jason.util.Page;

@Service
public class UserService {

	private Page<UserEntity> page = new Page<UserEntity>();
	@Autowired
	private UserDao userDao;
	
	public void getAll(Page<UserEntity> page){
		userDao.getAll(page);
	}

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}
	
}
